<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/12/4
  Time: 8:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h1>下载方式一</h1>
    <a href="/SpringMVC_08/file/数据表格.xls">下载表格</a>
    <a href="/SpringMVC_08/file/简易.txt">下载文本</a>
    <a href="/SpringMVC_08/file/1.jpg">图片</a>

    <h1>下载方式二</h1>
    <a href="/SpringMVC_08/download1?filename=1.jpg">下载图片</a>
    <a href="/SpringMVC_08/download1?filename=简易.txt">下载文本</a>
    <a href="/SpringMVC_08/download1?filename=数据表格.xls">下载表格</a>

    <h1>下载方式三</h1>
    <a href="/SpringMVC_08/download2?filename=1.jpg">下载图片</a>
    <a href="/SpringMVC_08/download2?filename=简易.txt">下载文本</a>
    <a href="/SpringMVC_08/download2?filename=数据表格.xls">下载表格</a>
</body>
</html>
